package au.edu.swin.swinvehicle.vehiclelicencetype;

/**
 * VehicleLicenceType tranfer object. This is detailed information of vehicle licence type.
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-12
 */
import java.io.Serializable;

// We will make the class Serializable so we can easily send it to remote clients.
public class VehicleLicenceTypeDetailedTO implements Serializable {

    private Long id;
    private String code;
    private String description;

    /**
     * Default constructor
     */
    public VehicleLicenceTypeDetailedTO() {
    }

    /**
     * Creates a new instance of VehicleTypeDetailedTO
     */
    public VehicleLicenceTypeDetailedTO(Long id, String code, String description) {
        this.setId(id);
        this.setCode(code);
        this.setDescription(description);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
